package web.util;

/**
 * Created by Administrator on 2015/8/7.
 */
public class DoubleOpeaterUtil {
    public static boolean updateDouble(Double d){
        if(d>10000000000000l){
            return true;
        }
        return false;
//        return bd.doubleValue();
    }
    public static String updateDouble(String formt,double num){
        java.text.DecimalFormat   df   =new   java.text.DecimalFormat(formt);
        return df.format(num);
    }
    public static void main(String[] arg){
//        System.out.println(new BigDecimal(   999999999.04).toString());
        System.out.println(updateDouble(2.00002518592103E22));
    }
}
